<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> {Agent_Title} (Search) </title>
<link rel="stylesheet" href="../../css/mem_report.css" type="text/css">
<link rel="stylesheet" href="../../css/calendar.css">
<script language="JavaScript" src="/inc/simplecalendar_{intLang}.js"></script>
<script language="JavaScript" src="/inc/getTypeDate.js"></script>
<script language="JavaScript">
<!--
var flag = 0;
var strToday = "{LastDay}";
var arrT = strToday.split('-');
var objToday = new Date(arrT[0], arrT[1] - 1, arrT[2]);
var objTempToday = new Date(arrT[0], arrT[1] - 1, arrT[2]);

function setFormSearchDay(strStartDay, strEndDay){
	document.beMemberFrm.PayupDate_0.value = strStartDay;
	document.beMemberFrm.PayupDate_1.value = strEndDay;
}

function finalcheck(){
	with(document.beMemberFrm){
		submit();
	}
}

function SelfSubmit(){
	with(document.beMemberFrm){
		op.value = "Search";
		submit();
	}
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">

<form name="beMemberFrm" method="get" action="Sub_index.php">
<input type="hidden" name="op" value="List">
<table width="770" border="0" cellspacing="0" cellpadding="0" class="cmti">
  <tr> 
    <td>{Agent_Title} -- {SelectLotto}</td>
  </tr>
</table>
<div class="ctabdv"> 
  <table border="0" cellspacing="1" cellpadding="0" class="ctab" width="700">
    <tr class="clef"> 
      <td width="70" class="ctiported">{BetDate}</td>
      <td> 
        <input type="text" name="PayupDate_0" class="zatexted" size="10" value="{LastDay}">
        <a href="javascript: void(0);" onMouseOver="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onMouseOut="if (timeoutDelay) calendarTimeout();window.status='';" onClick="g_Calendar.show(event,'beMemberFrm.PayupDate_0',true,'yyyy-mm-dd'); return false;"><img src="../../images/control/calendar.gif" width="34" height="21" border="0"></a> ~ 
        <input type="text" name="PayupDate_1" class="zatexted" size="10" value="{LastDay}">
        <a href="javascript: void(0);" onMouseOver="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onMouseOut="if (timeoutDelay) calendarTimeout();window.status='';" onClick="g_Calendar.show(event,'beMemberFrm.PayupDate_1',true,'yyyy-mm-dd'); return false;"><img src="../../images/control/calendar.gif" width="34" height="21" border="0"></a> &nbsp;&nbsp; 
        <input type="button" value="&lt;&lt;{YesterDay}" class="zabutton" onclick="goDay(-1);">
        <input type="button" value="{Today}" class="zabutton" onclick="goDay(0);">
        <input type="button" value="{Tomorrow}&gt;&gt;" class="zabutton" onclick="goDay(1);">
        <input type="button" value="{Week}" class="zabutton" onclick="goWeek();">
        <input type="button" value="{LastWeek}" class="zabutton" onclick="goLastWeek();">
        <input type="button" value="{Month}" class="zabutton" onclick="goMonth(0);">
        <input type="button" value="{LastPeriod}" class="zabutton" onclick="goMonth(-1);">
      </td>
    </tr>
    <tr class="clef"> 
      <td class="ctiported">{ReportType}</td>
      <td> {SelectReportType}</td>
    </tr>
    <tr class="clef"> 
      <td class="ctiported">{BetType}</td>
      <td> {SelectBetType}</td>
    </tr>
    <tr class="clef"> 
      <td class="ctiported">{GamebleNo}</td>
      <td> {SelectGamebleNo}&nbsp;&nbsp;(<a>{AlertTip}</a>)</td>
    </tr>
    <tr class="cedfoot"> 
      <td colspan="2"><input type="button" value="{Search}" class="zabutton" onclick="finalcheck()"></td>
    </tr>
  </table>
</div>
</form>
<span style="color:FF0000; font-weight: 700">{DataRange}<b> : </b>{SearchData1}<b> ~ </b>{SearchData2}</span>
</body>
</html>
